﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Text;

namespace Ocean.His.MedicalInsurance
{
    [DataContract]
    public class SI2601Data
    {
        /// <summary>
        /// 人员编号
        /// </summary>
        [DataMember(Name = "psn_no")]
        public string PsnNo { get; set; }

        /// <summary>
        /// 原发送方报文ID
        /// </summary>
        [DataMember(Name = "omsgid")]
        public string Omsgid { get; set; }

        /// <summary>
        /// 原交易编号
        /// </summary>
        [DataMember(Name = "oinfno")]
        public string Oinfno { get; set; }
    }

    [DataContract]
    public class SI2601InputModel
    {
        [DataMember(Name = "data")]
        public SI2601Data SI2601Data { get; set; }
    }

    /// <summary>
    /// 2601冲正交易
    /// </summary>
    [DataContract]
    public class SI2601RequestModel : SIBaseRequestModel
    {
        /// <summary>
        /// 交易输入
        /// </summary>
        [DataMember(Name = "input")]
        public SI2601InputModel Input { get; set; }

        public SI2601RequestModel(MedicalInsuranceOption medicalInsuranceOption) : base(medicalInsuranceOption)
        {
            Infno = "2601";
        }
    }
}
